package com.yxsd.common.entity;

import com.pandawork.core.entity.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Admin
 *
 * @author: zhangteng
 * @time: 2015/1/4 17:51
 */
@Entity
@Table(name = "t_admin")
public class Admin extends AbstractEntity {

    @Id
    private Integer id;

    @Column(name = "username")
    private String username;

    private String pwd;

    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}
